home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
STDREG.PAK
/
STDRMAC.R
< prev
next >
Wrap
Text File
|
1997-05-06
|
2KB
|
111 lines
// testMac.r: Macintosh-specific resources
#include "types.r"
#include "ftab.r"
#include "CodeFrag.r"
resource 'SIZE' (-1)
{
reserved,
acceptSuspendResumeEvents,
reserved,
canBackground,
doesActivateOnFGSwitch,
backgroundAndForeground,
dontGetFrontClicks,
ignoreAppDiedEvents,
is32BitCompatible,
isHighLevelEventAware,
localAndRemoteHLEvents,
isStationeryAware,
useTextEditServices,
reserved,
reserved,
reserved,
// Set different sizes depending on whether we're compiling for
// PowerMacintosh or 68K, debug or retail.
#ifdef _MPPC_
#ifdef _DEBUG
3000 * 1024,
3000 * 1024
#else
2500 * 1024,
2500 * 1024
#endif //_DEBUG
#else //!_MPPC_
#ifdef _DEBUG
2000 * 1024,
2000 * 1024
#else
2000 * 1024,
2000 * 1024
#endif //DEBUG
#endif //_MPPC
};
resource 'BNDL' (128, purgeable) // test bundle resource ID
{
'TEST', // test signature
0, // resource ID of signature resource:
// should be 0
{
'ICN#', // mapping local IDs in 'FREF's to 'ICN#' IDs
{
0, 128,
1, 129
},
'FREF', // local resource IDs for 'FREF's
{
0, 128,
1, 129
}
}
};
resource 'FREF' (128, purgeable) // test application
{
'APPL', 0,
""
};
resource 'FREF' (129, purgeable) // test document
{
'TEST', 1,
""
};
type 'TEST' as 'STR ';
resource 'TEST' (0, purgeable)
{
"test Application"
};
#ifdef _MPPC_
resource 'cfrg' (0)
{
{
kPowerPC,
kFullLib,
kNoVersionNum,
kNoVersionNum,
kDefaultStackSize,
kNoAppSubFolder,
kIsApp,
kOnDiskFlat,
kZeroOffset,
kWholeFork,
"test"
}
};
#endif //_MPPC_